﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.IO;

namespace BizElements.TemplateEngine
{
    static class IoUtil
    {
        private static string GetExecutableFilePath()
        {
            return Assembly.GetEntryAssembly().Location;
        }

        public static string GetExecutableDirectory()
        {
            string exePath = GetExecutableFilePath();
            return Path.GetDirectoryName(exePath);
        }
    }
}
